<?php

namespace app\admin\controller\coupon;

use app\common\controller\AdminController;
use EasyAdmin\annotation\ControllerAnnotation;
use EasyAdmin\annotation\NodeAnotation;
use think\App;

/**
 * @ControllerAnnotation(title="preferential_settings")
 * 优惠配置表
 */
class deploy extends AdminController
{
    // 积分可兑换(exchange)的物品

    use \app\admin\traits\Curd;

    public function __construct(App $app)
    {
        parent::__construct($app);

        $this->model = new \app\admin\model\PreferentialSettings();
        
        $this->assign('getUseTypeList', $this->model->getUseTypeList());

        $this->assign('getUsetThresholdList', $this->model->getUsetThresholdList());

        $this->assign('getStateList', $this->model->getStateList());

    }

    
}